<?php /* Smarty version 2.6.18, created on 2009-11-27 10:07:04
         compiled from bao_tri_par_trtfprd.tpl */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "header.tpl", 'smarty_include_vars' => array('title' => 'Bao tri  PAR_TRPRODUCT')));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<form action="" method="post" target="_self" name="tongquat">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20%">
<input type="button" value="<?php echo $this->_tpl_vars['ten_trove']; ?>
" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td align="right" nowrap="nowrap">&nbsp;</td>
<td align="right" nowrap="nowrap">&nbsp;</td>
<td align="right" nowrap="nowrap"><select name="hanhdong" size="1" onchange="changevalue('hanhdong');">
  
   <?php $_from = $this->_tpl_vars['chuyentrang']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
      
  <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['select_cbo_chuyentrang'] == $this->_tpl_vars['k']): ?> selected="selected" <?php endif; ?>><?php echo $this->_tpl_vars['v']; ?>
</option>
  
 	<?php endforeach; endif; unset($_from); ?>

</select>
  <input name="action" type="submit" value="<?php echo $this->_tpl_vars['ten_thuc_hien']; ?>
" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"/></td>
</tr>
<tr>
<td colspan="4"><hr></td>
</tr>
  <tr>
    <td><?php echo $this->_tpl_vars['lbl_PRDCODE']; ?>
</td>
     <td colspan="3" style="color:#FF0000"><input name="PRDCODE" id="PRDCODE" type="text" style="background:<?php echo $this->_tpl_vars['colorPRDCODE']; ?>
" value="<?php echo $this->_tpl_vars['PRDCODE']; ?>
" size="20" maxlength="10" onkeyup="this.value=this.value.toUpperCase().replace(' ','');" <?php if ($this->_tpl_vars['activefield'] == 'enabled'): ?> readonly="readOnly"<?php endif; ?> />
      *      
      <input type="submit" name="find" value="    " id="replacement_find" <?php if ($this->_tpl_vars['activefield'] == 'enabled'): ?> disabled="disabled"<?php endif; ?> /></td>
    </tr>
  <tr>
    <td><?php echo $this->_tpl_vars['lbl_PRDNAME']; ?>
</td>
    <td colspan="3"><input name="PRDNAME" id="PRDNAME" type="text" style="background:<?php echo $this->_tpl_vars['colorPRDNAME']; ?>
" value="<?php echo $this->_tpl_vars['PRDNAME']; ?>
" size="60" maxlength="50" />      
    <span style="color:#FF0000">*</span></td>
    </tr>
  <tr>
    <td nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_CURCODE']; ?>
</td>
    <td><span style="color:#FF0000">
      <select name="CURCODE" size="1" id="CURCODE" style="background:<?php echo $this->_tpl_vars['colorCURCODE']; ?>
" >
	  <option value=""></option>
      <?php $_from = $this->_tpl_vars['cbo_CURCODE']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>   
        <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['CURCODE']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>  
	  <?php endforeach; endif; unset($_from); ?>   
      </select>
    *</span></td>
    <td><?php echo $this->_tpl_vars['lbl_PMTCURCODE']; ?>
</td>
    <td><span style="color:#FF0000">
      <select name="PMTCURCODE" size="1" id="PMTCURCODE" style="background:<?php echo $this->_tpl_vars['colorPMTCURCODE']; ?>
" >
        <option value=""></option>
         
      <?php $_from = $this->_tpl_vars['cbo_trtfprd_PMTCURCODE']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>      
        
        <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['PMTCURCODE']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
               
	  <?php endforeach; endif; unset($_from); ?>   
      
      </select>
    </span></td>
  </tr>
   <tr>
    <td nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_TYPE']; ?>
</td>
    <td><span style="color:#FF0000">
      <select name="TYPE" size="1" id="TYPE" style="background:<?php echo $this->_tpl_vars['colorTYPE']; ?>
"  onchange="show();">
        <option value=""></option>
      <?php $_from = $this->_tpl_vars['cbo_trtfprd_TYPE']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>  
        <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['TYPE']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>     
	  <?php endforeach; endif; unset($_from); ?>   
      </select>
    *</span></td>
    <td><?php echo $this->_tpl_vars['lbl_PLGACCTNO2']; ?>
</td>
    <td><span style="color:#FF0000">
      <input name="PLGACCTNO2" id="PLGACCTNO2" type="text" style="background:<?php echo $this->_tpl_vars['colorPLGACCTNO2']; ?>
" value="<?php echo $this->_tpl_vars['PLGACCTNO2']; ?>
" size="15" maxlength="10" onblur="this.value=this.value.toLowerCase();" onkeypress="return numberOnly(event);"/>
      <span id="show_warming2" style="color:#FF0000">*</span>
      <input type="button" onclick="mywindow = window.open('microbank_id.php?name=PLGACCTNO2', 'mywindow','menubar=0,resizable=yes,width=800,height=300, scrollbars=yes');mywindow.moveTo((screen.width-800)/2,screen.height/2);" name="microbank2" id="replacement_binoculars" value="     " />
    </span></td>
   </tr>
   <tr>
     <td><?php echo $this->_tpl_vars['lbl_BORS']; ?>
</td>
     <td style="color:#FF0000"><select name="BORS" size="1" id="BORS" style="background:<?php echo $this->_tpl_vars['colorBORS']; ?>
" >
       <option value=""></option>
       
        
      <?php $_from = $this->_tpl_vars['cbo_trtfprd_BORS']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>  
        
        
       <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['BORS']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option          
	  <?php endforeach; endif; unset($_from); ?>   
      >
     </select>
       <span id="show_warming9" style="color:#FF0000">*</span></td>
     <td ><?php echo $this->_tpl_vars['lbl_TXNACCTNOVN']; ?>
</td>
     <td style="color:#FF0000"><input name="TXNACCTNOVN" id="TXNACCTNOVN" type="text" style="background:<?php echo $this->_tpl_vars['colorTXNACCTNOVN']; ?>
" value="<?php echo $this->_tpl_vars['TXNACCTNOVN']; ?>
" size="15" maxlength="10" onblur="this.value=this.value.toLowerCase();" onkeypress="return numberOnly(event);"/>
       <span id="show_warming7" style="color:#FF0000">*</span>
       <input type="button" onclick="mywindow = window.open('microbank_id.php?name=TXNACCTNOVN', 'mywindow','menubar=0,resizable=yes,width=800,height=300, scrollbars=yes');mywindow.moveTo((screen.width-800)/2,screen.height/2);" name="microbank3" id="replacement_binoculars" value="     " /></td>
   </tr>
   <tr>
     <td><?php echo $this->_tpl_vars['lbl_MINDEPRATE']; ?>
</td>
     <td style="color:#FF0000"><input name="MINDEPRATE" id="MINDEPRATE" type="text" style="background:<?php echo $this->_tpl_vars['colorMINDEPRATE']; ?>
;text-align:right" value="<?php echo $this->_tpl_vars['MINDEPRATE']; ?>
" size="20" maxlength="5" onblur="formatNumber2(this,this.value,3,2)" onkeypress="return numberOnly(event);"/>
       <span id="show_warming3" style="color:#FF0000">*</span>     <?php echo $this->_tpl_vars['error2']; ?>
</td>
     <td ><?php echo $this->_tpl_vars['lbl_CNVACCTNODB']; ?>
</td>
     <td style="color:#FF0000"><input name="CNVACCTNODB" id="CNVACCTNODB" type="text" style="background:<?php echo $this->_tpl_vars['colorCNVACCTNODB']; ?>
;" value="<?php echo $this->_tpl_vars['CNVACCTNODB']; ?>
" size="15" maxlength="10" onkeypress="return numberOnly(event);"/>
       <span id="show_warming5" style="color:#FF0000">*</span>
       <input type="button" onclick="mywindow = window.open('microbank_id.php?name=CNVACCTNODB', 'mywindow','menubar=0,resizable=yes,width=800,height=300, scrollbars=yes');mywindow.moveTo((screen.width-800)/2,screen.height/2);" name="microbank7" id="replacement_binoculars" value="     " /></td>
   </tr>
   <tr>
     <td><?php echo $this->_tpl_vars['lbl_PMTTERM']; ?>
</td>
     <td style="color:#FF0000"><input name="PMTTERM" id="PMTTERM" type="text" style="background:<?php echo $this->_tpl_vars['colorPMTTERM']; ?>
;text-align:right" value="<?php echo $this->_tpl_vars['PMTTERM']; ?>
" size="20" maxlength="5" onkeypress="return numberOnly(event);" onkeyup="this.value=this.value.replace('0.','').replace('.','');"/>
       <span id="show_warming11" style="color:#FF0000">*</span><?php echo $this->_tpl_vars['error1']; ?>
</td>
     <td ><?php echo $this->_tpl_vars['lbl_CNVACCTNOCR']; ?>
</td>
     <td style="color:#FF0000"><input name="CNVACCTNOCR" id="CNVACCTNOCR" type="text" style="background:<?php echo $this->_tpl_vars['colorCNVACCTNOCR']; ?>
;" value="<?php echo $this->_tpl_vars['CNVACCTNOCR']; ?>
" size="15" maxlength="10" onkeypress="return numberOnly(event);"/>
       <span id="show_warming13" style="color:#FF0000">*</span>
       <input type="button" onclick="mywindow = window.open('microbank_id.php?name=CNVACCTNOCR', 'mywindow','menubar=0,resizable=yes,width=800,height=300, scrollbars=yes');mywindow.moveTo((screen.width-800)/2,screen.height/2);" name="microbank8" id="replacement_binoculars" value="     " /></td>
   </tr>
   <tr>
     <td><?php echo $this->_tpl_vars['lbl_PMTTERMCD']; ?>
</td>
     <td style="color:#FF0000"><select name="PMTTERMCD" size="1" id="PMTTERMCD" style="background:<?php echo $this->_tpl_vars['colorPMTTERMCD']; ?>
" >
       <option value=""></option>
        
      <?php $_from = $this->_tpl_vars['cbo_trtfprd_PMTTERMCD']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>  
        
       <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['PMTTERMCD']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
          
	  <?php endforeach; endif; unset($_from); ?>   
      
     </select>
       <span id="show_warming10" style="color:#FF0000">*</span></td>
     <td ><?php echo $this->_tpl_vars['lbl_PMTACCTNOVN']; ?>
</td>
     <td style="color:#FF0000"><input name="PMTACCTNOVN" id="PMTACCTNOVN" type="text" style="background:<?php echo $this->_tpl_vars['colorPMTACCTNOVN']; ?>
" value="<?php echo $this->_tpl_vars['PMTACCTNOVN']; ?>
" size="15" maxlength="10" onblur="this.value=this.value.toLowerCase();" onkeypress="return numberOnly(event);"/>
       <span id="show_warming14" style="color:#FF0000">*</span>
       <input type="button" onclick="mywindow = window.open('microbank_id.php?name=PMTACCTNOVN', 'mywindow','menubar=0,resizable=yes,width=800,height=300, scrollbars=yes');mywindow.moveTo((screen.width-800)/2,screen.height/2);" name="microbank4" id="replacement_binoculars" value="     " /></td>
   </tr>
   <tr>
     <td><?php echo $this->_tpl_vars['lbl_WRNRATE']; ?>
</td>
     <td style="color:#FF0000"><input name="WRNRATE" id="WRNRATE" type="text" style="background:<?php echo $this->_tpl_vars['colorWRNRATE']; ?>
;text-align:right" value="<?php echo $this->_tpl_vars['WRNRATE']; ?>
" size="20" maxlength="5" onblur="formatNumber2(this,this.value,3,2)" onkeypress="return numberOnly(event);" />
       <span id="show_warming4" style="color:#FF0000">*</span> <?php echo $this->_tpl_vars['error3']; ?>
</td>
     <td ><?php echo $this->_tpl_vars['lbl_INCACCTNO']; ?>
</td>
     <td style="color:#FF0000"><input name="INCACCTNO" id="INCACCTNO" type="text" style="background:<?php echo $this->_tpl_vars['colorINCACCTNO']; ?>
" value="<?php echo $this->_tpl_vars['INCACCTNO']; ?>
" size="15" maxlength="10" onblur="this.value=this.value.toLowerCase();" onkeypress="return numberOnly(event);"/>
         <span id="show_warming15" style="color:#FF0000">*</span>
         <input type="button" onclick="mywindow = window.open('microbank_id.php?name=INCACCTNO', 'mywindow','menubar=0,resizable=yes,width=800,height=300, scrollbars=yes');mywindow.moveTo((screen.width-800)/2,screen.height/2);" name="microbank5" id="replacement_binoculars" value="     " /></td>
   </tr>
   <tr>
     <td><?php echo $this->_tpl_vars['lbl_CLSRATE']; ?>
</td>
     <td style="color:#FF0000"><input name="CLSRATE" id="CLSRATE" type="text" style="background:<?php echo $this->_tpl_vars['colorCLSRATE']; ?>
;text-align:right" value="<?php echo $this->_tpl_vars['CLSRATE']; ?>
" size="20" maxlength="5" onblur="formatNumber2(this,this.value,3,2)" onkeypress="return numberOnly(event);" />
       <span id="show_warming12" style="color:#FF0000">*</span> <?php echo $this->_tpl_vars['error4']; ?>
</td>
     <td ><?php echo $this->_tpl_vars['lbl_EXPACCTNO']; ?>
</td>
     <td style="color:#FF0000"><input name="EXPACCTNO" id="EXPACCTNO" type="text" style="background:<?php echo $this->_tpl_vars['colorEXPACCTNO']; ?>
" value="<?php echo $this->_tpl_vars['EXPACCTNO']; ?>
" size="15" maxlength="10" onblur="this.value=this.value.toLowerCase();" onkeypress="return numberOnly(event);"/>
         <span id="show_warming16" style="color:#FF0000">*</span>
         <input type="button" onclick="mywindow = window.open('microbank_id.php?name=EXPACCTNO', 'mywindow','menubar=0,resizable=yes,width=800,height=300, scrollbars=yes');mywindow.moveTo((screen.width-800)/2,screen.height/2);" name="microbank6" id="replacement_binoculars" value="     " /></td>
   </tr>
   <tr>
     <td><?php echo $this->_tpl_vars['lbl_PMTACCTNOFN']; ?>
</td>
     <td style="color:#FF0000"><input name="PMTACCTNOFN" id="PMTACCTNOFN" type="text" style="background:<?php echo $this->_tpl_vars['colorPMTACCTNOFN']; ?>
" value="<?php echo $this->_tpl_vars['PMTACCTNOFN']; ?>
" size="15" maxlength="10" onblur="this.value=this.value.toLowerCase();" onkeypress="return numberOnly(event);"/>
       <span id="show_warming6" style="color:#FF0000">*</span>
       <input type="button" onclick="mywindow = window.open('microbank_id.php?name=PMTACCTNOFN', 'mywindow','menubar=0,resizable=yes,width=800,height=300, scrollbars=yes');mywindow.moveTo((screen.width-800)/2,screen.height/2);" name="microbank9" id="replacement_binoculars" value="     " /></td>
     <td><?php echo $this->_tpl_vars['lbl_CRTMPACCTNO']; ?>
</td>
     <td style="color:#FF0000"><input name="CRTMPACCTNO" id="CRTMPACCTNO" type="text" style="background:<?php echo $this->_tpl_vars['colorCRTMPACCTNO']; ?>
" value="<?php echo $this->_tpl_vars['CRTMPACCTNO']; ?>
" size="15" maxlength="10" onblur="this.value=this.value.toLowerCase();" onkeypress="return numberOnly(event);"/>
       &nbsp;&nbsp;
       <input type="button" onclick="mywindow = window.open('microbank_id.php?name=CRTMPACCTNO', 'mywindow','menubar=0,resizable=yes,width=800,height=300, scrollbars=yes');mywindow.moveTo((screen.width-800)/2,screen.height/2);" name="microbank32" id="replacement_binoculars" value="     " /></td>
   </tr>
   <tr>
     <td><?php echo $this->_tpl_vars['lbl_PLGACCTNO1']; ?>
</td>
     <td><span style="color:#FF0000">
       <input name="PLGACCTNO1" id="PLGACCTNO1" type="text" style="background:<?php echo $this->_tpl_vars['colorPLGACCTNO1']; ?>
" value="<?php echo $this->_tpl_vars['PLGACCTNO1']; ?>
" size="15" maxlength="10" onblur="this.value=this.value.toLowerCase();" onkeypress="return numberOnly(event);"/>
       <span id="show_warming1" style="color:#FF0000">*</span>
       <input type="button" onclick="mywindow = window.open('microbank_id.php?name=PLGACCTNO1', 'mywindow','menubar=0,resizable=yes,width=800,height=300, scrollbars=yes');mywindow.moveTo((screen.width-800)/2,screen.height/2);" name="microbank" id="replacement_binoculars" value="     " />
     </span></td>
     <td ><?php echo $this->_tpl_vars['lbl_DBTMPACCTNO']; ?>
</td>
     <td style="color:#FF0000"><input name="DBTMPACCTNO" id="DBTMPACCTNO" type="text" style="background:<?php echo $this->_tpl_vars['colorDBTMPACCTNO']; ?>
" value="<?php echo $this->_tpl_vars['DBTMPACCTNO']; ?>
" size="15" maxlength="10" onblur="this.value=this.value.toLowerCase();" onkeypress="return numberOnly(event);"/>
       &nbsp;&nbsp;
       <input type="button" onclick="mywindow = window.open('microbank_id.php?name=DBTMPACCTNO', 'mywindow','menubar=0,resizable=yes,width=800,height=300, scrollbars=yes');mywindow.moveTo((screen.width-800)/2,screen.height/2);" name="microbank33" id="replacement_binoculars" value="     " /></td>
   </tr>
   
   
   
   
<tr>
<td colspan="4"><p>&nbsp;</p><p>&nbsp;</p></td>
</tr>
<tr>
  <td colspan="4" align="right"><input type="button" name="cancle" id="cancle" value="<?php echo $this->_tpl_vars['ten_cancle']; ?>
" class="button_style" onclick="activeform(this.form,'PRDCODE');" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
    <input type="submit" name="capnhat" value="<?php echo $this->_tpl_vars['ten_cap_nhat']; ?>
" <?php if ($this->_tpl_vars['activefield'] == 'disabled'): ?>disabled="disabled" <?php endif; ?> class="button_style" onclick="" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" /></td>
</tr>
<tr>
<td colspan="4" align="right"><div align="left">
  <div align="left">
    <input name="addnew" type="submit" value="<?php echo $this->_tpl_vars['ten_themmoi']; ?>
" class="button_style" onclick="" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
    <input name="detail" type="submit" value="<?php echo $this->_tpl_vars['ten_chitiet']; ?>
" class="button_style" onclick="" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
  </div>
</div></td>
</tr>
<tr>
<td colspan="4">
<hr></td>
</tr>

<tr>
<td >
<input type="button" value="<?php echo $this->_tpl_vars['ten_trove']; ?>
" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td align="right" nowrap="nowrap">&nbsp;</td>
<td align="right" nowrap="nowrap">&nbsp;</td>
<td align="right" nowrap="nowrap"><select name="hanhdong1" size="1" onchange="changevalue('hanhdong1');">
  
   <?php $_from = $this->_tpl_vars['chuyentrang']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
      
  <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['select_cbo_chuyentrang'] == $this->_tpl_vars['k']): ?> selected="selected" <?php endif; ?>><?php echo $this->_tpl_vars['v']; ?>
</option>
  
 	<?php endforeach; endif; unset($_from); ?>

</select>
  <input name="action" type="submit" value="<?php echo $this->_tpl_vars['ten_thuc_hien']; ?>
" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"/></td>
</tr>
</table>
</form>
<?php echo $this->_tpl_vars['javascriptsetstyle']; ?>

<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "footer.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>